home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1998 January / PC Answers Issue 49 Cover CD January 1998.iso / LIBS / NAV / INSTALL.INF < prev    next >
INI File  |  1997-02-06  |  67KB  |  2,404 lines

  1. ;***************************************************************************
  2. ;* Norton AntiVirus for Windows 95 (Luigi) Setup Script                    *
  3. ;* FOR VERSION 4.0+ OF SYMANTEC SETUP FOR WINDOWS                          *
  4. ;***************************************************************************
  5. ;
  6. ;    Target Usage
  7. ;----------------------------
  8. ; TARGET        LFN directory for NAV (Def: \Program Files\Norton AntiVirus)
  9. ; TARGET2       LFN NAV system directory (Def: {TARGET}\System)
  10. ; TARGET3       LFN Shared Componented directory (Def: \SOFTWARE\Symantec)
  11. ; TARGET3       (later in script) TARGET3 = SFN of TARGET
  12. ; TARGET4       SFN version of TARGET2
  13. ; TARGET5       SFN version of original TARGET3
  14. ;
  15. ;    Switch Assignments
  16. ;----------------------------
  17. ; SWITCH_WIN95            30      // TRUE if running on at least Win95
  18. ; SWITCH_WINNT35          31      // TRUE if running on at least WinNT 3.51
  19. ; // These settings control the setup wizard flow
  20. ; SWITCH_PREVIOUS         50      // TRUE = script should backup a screen
  21. ; SWITCH_NEXT             51      // TRUE = script should move to next screen
  22. ;                                 // NOTE: If both NEXT/PREV are FALSE, stay on same screen.
  23. ; SWITCH_CANCEL           52      // TRUE= script should exit
  24. ;
  25. ; SWITCH_FILEVIRUS        55      // TRUE = Files infected
  26. ;                                 // (memory and boot don't come back!)
  27. ;
  28. ; SWITCH_NS_INSTALLED      58      // TRUE if Netscape found
  29. ; SWITCH_NS_ADDHELPER     59      // TRUE if script should add helper functionality
  30. ;
  31. ; SWITCH_CUSTOM           63      // TRUE = custom install
  32. ;                                 // FALSE= full install
  33. ;
  34. ; // Choices made from "Specify Location to Install" dialog
  35. ; SWITCH_LOC_DEFAULT      67      // TRUE = Use default directory
  36. ;                                 // FALSE= Use "other" directory
  37. ; SWITCH_PREVIOUSVER      68      // TRUE = Found previous version
  38. ; SWITCH_FLOPPY_IN_DRIVE  69      // TRUE = There's a floppy in the drive
  39. ;
  40. ; // Choices made from the "Out of disk space" dialog
  41. ; SWITCH_NOSPACE_WINDRIVE 70      // TRUE = No space on the Windows drive
  42. ; SWITCH_NOSPACE_DESELECT 71      // TRUE = Go to custom install
  43. ; SWITCH_NOSPACE_NEWDRIVE 72      // TRUE = Select another target drive
  44. ;
  45. ; SWITCH_REBOOT           73      // TRUE = user wants to reboot now
  46. ;                                 // FALSE= user wants to reboot later
  47. ;
  48. ; // These settings control which set of options should be installed
  49. ; SWITCH_OPTS_LOW         75      // TRUE= Install minimal protection
  50. ; SWITCH_OPTS_NORMAL      76      // TRUE= Install normal protection
  51. ; SWITCH_OPTS_MAX         77      // TRUE= Install maximum protection
  52. ; SWITCH_OPTS_CURRENT     78      // TRUE= Retain current settings
  53. ;
  54. ; // These settings control what's installed automatically
  55. ; SWITCH_DO_RUNAUTOPROTECT 80     // TRUE= Load autoprotect at startup
  56. ; SWITCH_DO_RUNSCHEDULE    81     // TRUE= Load scheduler at startup
  57. ; SWITCH_DO_RUNNAVBOOT     82     // TRUE= Load NAVBOOT at startup
  58. ; SWITCH_DO_MAKERESCUE     83     // TRUE= Make a rescue disk
  59. ;
  60. ; SWITCH_NAVBOOT_INSTALLED     84 // TRUE= NAVBOOT installed add to AUTOEXEC
  61. ; SWITCH_AUTOPROTECT_INSTALLED 85 // TRUE= NAVAP is selected
  62. ; SWITCH_SCHEDULER_INSTALLED   86 // TRUE= SCHEDULER is selected
  63. ; SWITCH_RESCUE_INSTALLED      87 // TRUE= RESCUE is selected
  64. ;
  65. ; // Force Scaning switches
  66. ; SWITCH_FORCE_SCAN           88  // TRUE = Scan all - no cancel button
  67. ; SWITCH_FORCE_NO_SCAN        89  // TRUE = Bypass scan
  68. ; SWITCH_SM_NS_KEY_OVERWRITE  90  // TRUE = Overwrite Netscape helper keys in Silent Mode
  69. ; SWITCH_MEMSCAN_ONLY         91  // TRUE = Scan memory only - skip boot & file scan
  70. ;                  //  (set in INF file only)
  71. ; SWITCH_COPY_ONRAMP          92  // TRUE = Copy onramp files
  72. [InstallVersion]
  73. 4.1
  74.  
  75. [Process]
  76. ;!;//////////////////////////////////////
  77. ;!;// ADMIN CONFIGURABLE SETTINGS
  78. ;!;//////////////////////////////////////
  79. ;!;
  80. ;!; switch88 - Set TRUE to force scan for Viruses during install.
  81. ;!;  User is not allowed to cancel scan. Set FALSE for normal scanning.
  82. switch88 = FALSE
  83. ;!; switch89 - Bypass virus scan totally during install if TRUE.
  84. switch89 = FALSE              
  85. ;!; switch90 - Overwrite Netscape helper keys in silent mode if TRUE.
  86. switch90 = TRUE
  87. ;!; switch91 - Only scan memory during install if TRUE.  If FALSE, memory
  88. ;!;  boot records and files will be scanned during install.  This affects
  89. ;!;  normal installations only.  See below for silent installation.
  90. switch91 = FALSE              
  91. ;!; switch92 - Install LiveUpdate files if TRUE
  92. switch92 = TRUE
  93. ;!;
  94. ;!; When running in silent mode, dialogs do not stay on screen more than
  95. ;!;  a second or two.  Since a full virus scan can take several minutes
  96. ;!;  the user may wrongly assume the setup program hung and reboot the 
  97. ;!;  system.  To prevent this problem, we only scan memory during a
  98. ;!;  silent install by default.  You can change the behavior on a silent 
  99. ;!;  install to scan boot records and files as well if you desire.
  100. switch99 = IsSilentMode()     
  101. #if(switch99)
  102.     ;!; Set this to TRUE to only scan memory during a silent install.  Set
  103.     ;!;  this to FALSE to allow scanning of boot records and files on a
  104.     ;!;  silent install.  This only affects silent install.
  105.     switch91 = TRUE
  106. #endif
  107. ;!;//////////////////////////////////////
  108. ;!;// END OF ADMIN CONFIGURABLE SETTINGS
  109. ;!;//////////////////////////////////////
  110.  
  111. AllowIntlChars()
  112. Bitmaps(Pix)                           ; Background bitmaps
  113.  
  114. ;//////////////////////////////////////
  115. ;// B A C K U P   R E G I S T R Y
  116. ;//////////////////////////////////////
  117.  
  118. switch53=IsInstallShell()
  119. #ifnot(switch53)
  120.    SaveRegistry(SaveRegGroup)
  121. #endif
  122.  
  123. DisableHelp()                          ; Don't display help buttons
  124. EnableForceWrite()
  125. EnableUpperCase()
  126. Backup(CustDLLCopy)                    ; Copy custom DLL to temp dir
  127.  
  128. ;//////////////////////////////////////
  129. ;// I N I T I A L I Z E   M E M O R Y
  130. ;//////////////////////////////////////
  131. CallProc(InitMemory)
  132. CallProc(RestoreNavap)
  133.  
  134. ;////////////////////////////////
  135. ;//  V E R S I O N   C H E C K
  136. ;////////////////////////////////
  137. WizardPanel(WrongVersion, siwnav32.dll)
  138.  
  139. switch31 = IsWinVerGTE(0351)
  140. #if(switch31)                           ; NT New Shell and Win95 both say 0400,
  141.     switch31 = CallProcEx(IsPlatformNT) ; so use external func to verify NT.
  142. #endif
  143.  
  144. switch30 = IsWinVerGTE(0395)            ; Check if running under Win 95
  145. #if(switch31)                           ; Verify that this isn't NT New Shell
  146.     switch30 = FALSE                    ; masquerading as Win95 (0400)
  147. #endif
  148.  
  149. #ifnot(switch30)
  150.     WizardProcessPanel()                ; Not Win95 so exit
  151.     Exit()
  152. #endif
  153.  
  154.                                         ; Initialize settings flags once.
  155. switch78 = FALSE
  156.                                         ; Settings based on Windows version
  157. #if(switch30)
  158.    switch59 = TRUE
  159.    switch80 = TRUE
  160.    switch81 = TRUE
  161.    switch82 = TRUE
  162.    switch83 = TRUE
  163.    SetActiveCopy(NAVCopy, install.inf)
  164.    EnableWin95Shell()
  165. #else
  166.    switch80 = FALSE
  167.    switch81 = TRUE
  168.    switch82 = FALSE
  169.    switch83 = FALSE
  170.    SetActiveCopy(NAVCopyWinNT, install.inf)
  171. #endif
  172.  
  173. ;/////////////////////////////////////////////////////////////////////
  174. ;//  C H E C K   F O R   S P A C E   O N   W I N D O W S   D R I V E
  175. ;/////////////////////////////////////////////////////////////////////
  176. WizardPanel(NoWinSpace, siwnav32.dll)
  177. CallProc(CheckWinSpace)
  178. #if(switch70)
  179.     CallProc(ShowWinSpaceError)        ; Show error message if in Silent Mode
  180.     WizardProcessPanel()        ; Otherwise, let the Wiz notify the user
  181.     Exit()
  182. #endif
  183.  
  184. ;/////////////////////////////////////////////////
  185. ;//  S E T   D E F A U L T   D I R E C T O R I E S
  186. ;/////////////////////////////////////////////////
  187. :TargetDirs
  188. switch68 = FALSE
  189. switch02 = FALSE
  190. switch03 = FALSE
  191. switch04 = FALSE
  192.  
  193. #if(switch30)
  194.                                             ; Only check if Win95 (8.3 for NT)
  195.     switch02 = CallProcEx(CheckLFNTarget)   ; Target drive support LFN's?
  196.     switch03 = CallProcEx(CheckLFNCDrive)   ; Boot drive support LFN's?
  197.     switch04 = CallProcEx(CheckLFNWindows)  ; Windows drive support LFN's?
  198. #endif
  199.  
  200. #ifnot(switch02)
  201.     ResetTarget(Target2SFN)         ; Set 8.3 application program to target2
  202.     ResetTarget(Target2to1)         ; move to TARGET
  203.     ResetTarget(TargetExt)          ; Set 8.3 application extensions folder
  204. #else
  205.     ResetTarget(Target2LFN)         ; Set default LFN app dir to target2
  206.     ResetTarget(Target2to1)         ; movet to TARGET
  207.     ResetTarget(TargetExt)          ; Set LFN application extensions folder
  208. #endif
  209.  
  210. switch99 = CallProcEx(FindSharedComponents) ; Get shared comp dir from reg
  211. #ifnot(switch99)
  212.     #ifnot(switch03)                ; If shared comp folder not registered and
  213.         GetSymantecDir()            ; no LFN support, use short Symantec dir.
  214.         ResetTarget(TargetShared)
  215.         ResetTarget(TargetSharedShort)
  216.     #endif
  217. #endif
  218.  
  219. SetInternalFlag(1)
  220.  
  221. ;////////////////////////////////////////////////////////////
  222. ;//  W E L C O M E  &  R E G I S T R A T I O N  D I A L O G
  223. ;////////////////////////////////////////////////////////////
  224. WizardPanel(Welcome, siwnav32.dll)
  225. WizardProcessPanel()
  226.  
  227. ;/////////////////////////////////////////
  228. ;//  B E F O R E   S C A N   D I A L O G
  229. ;/////////////////////////////////////////
  230. WizardPanel(BeforeScan, siwnav32.dll)
  231. #ifnot(switch88)
  232.     #ifnot(switch89)
  233.         WizardProcessPanel()
  234.     #endif
  235. #endif
  236. WizardExcludePanel(BeforeScan)
  237.  
  238. ;////////////////////////////////
  239. ;//  S C A N N I N G  D I A L O G
  240. ;////////////////////////////////
  241. :DuringScanDialog
  242.  
  243. WizardPanel(DuringScan, siwnav32.dll)
  244. #ifnot(switch88)
  245.     #ifnot(switch89)
  246.         WizardProcessPanel()
  247.     #endif
  248. #endif
  249. WizardExcludePanel(DuringScan)
  250.  
  251.  
  252. WizardPanel(DuringScan2, siwnav32.dll)
  253. #if(switch88)
  254.     WizardProcessPanel()
  255. #endif
  256. WizardExcludePanel(DuringScan2)
  257.  
  258.  
  259.  
  260. ; Exit if virus found
  261. #if(switch52)
  262.     Goto(CleanupAndExit)
  263. #endif
  264.  
  265. ;/////////////////////////////////////
  266. ;//  A F T E R  S C A N  D I A L O G
  267. ;/////////////////////////////////////
  268. :AfterScanDialog
  269.  
  270. WizardPanel(AfterScan, siwnav32.dll)
  271. #ifnot(switch89)
  272.     WizardProcessPanel()
  273. #endif
  274. WizardExcludePanel(AfterScan)
  275.  
  276. ;//////////////////////////////////////////
  277. ;// R E G I S T R A T I O N   D I A L O G
  278. ;//////////////////////////////////////////
  279. :RegisterDialog
  280. ;WizardPanel(Register, siwnav32.dll)
  281. ;WizardProcessPanel()
  282.  
  283. ;////////////////////////////////
  284. ;// V E R I F Y   U P G R A D E
  285. ;////////////////////////////////
  286. ; !!!!!!!!!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!!!!!!!
  287. ; The following section was commented out for Hydra in
  288. ; order to work around the 32 Wizard Panel limit in 
  289. ; the installer.  This code controls the QPD handling.
  290. ; The practical result of this is that we cannot do
  291. ; an upgrade SKU for Hydra (33 panels if this is 
  292. ; enabled).  If this is uncommented, some panels MUST
  293. ; be removed until Shared Tech removes the 32 panel
  294. ; limit.
  295. ; !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  296. ;switch99 = Exists(Luigi)
  297. ;#if(switch99)
  298. ;    WizardPanel(RequiredIntro, siwnav32.dll)
  299. ;    WizardProcessPanel()
  300. ;    WizardPanel(Required, siwnav32.dll)
  301. ;    WizardProcessPanel()
  302. ;    WizardPanel(RequiredSuccess, siwnav32.dll)
  303. ;    WizardProcessPanel()
  304. ;#endif
  305. ;WizardExcludePanel(RequiredIntro)
  306. ;WizardExcludePanel(Required)
  307. ;WizardExcludePanel(RequiredSuccess)
  308. ;
  309. ;:InsertSource
  310. ;switch99 = Exists(LuigiVer2)
  311. ;#ifnot(switch99)
  312. ;    switch98 = MessageCancel.InsertSourceDisk
  313. ;    #ifnot(switch98)
  314. ;        Exit()
  315. ;    #endif
  316. ;    Goto(InsertSource)
  317. ;#endif
  318.  
  319. ;////////////////////////////////////////////////////////////
  320. ;//  L I C E N S E  D I A L O G
  321. ;////////////////////////////////////////////////////////////
  322. WizardPanel(License, siwnav32.dll)
  323. WizardProcessPanel()
  324.  
  325. ;//////////////////////////////////////////////////////////
  326. ;// S E A R C H   F O R  P R E V I O U S  V E R S I O N S
  327. ;//////////////////////////////////////////////////////////
  328. ;WizardPanel(SearchInfo, siwnav32.dll)
  329. ;WizardProcessPanel()
  330. ;WizardExcludePanel(SearchInfo)
  331. switch68 = CallProcEx(CheckPrevVer)
  332.  
  333. ;/////////////////////////////////////////////////////////////////////
  334. ;// D E F A U L T   O R   O T H E R  I N S T A L L  L O C A T I O N
  335. ;/////////////////////////////////////////////////////////////////////
  336. :InstallLocation
  337. WizardPanel(SpecifyLocation, siwnav32.dll)
  338. WizardIncludePanel(NoDiskSpace)
  339. WizardIncludePanel(KeepSettingsDlg)
  340. WizardProcessPanel()
  341.  
  342. GetPrevVerSize()                    ; Calculate the prev ver size if available
  343.  
  344. ;///////////////////////////////////////////////////////
  345. ;// C O M P L E T E  O R   C U S T O M   I N S T A L L
  346. ;///////////////////////////////////////////////////////
  347. :InstallTypeDialog
  348. WizardPanel(InstallType, siwnav32.dll)
  349. WizardIncludePanel(SelectComponents)
  350. WizardIncludePanel(NoDiskSpace)
  351. WizardIncludePanel(StartupDlg)
  352. WizardIncludePanel(RescueDlg)
  353. WizardProcessPanel()
  354.  
  355. #ifnot(switch63)                        ; Full install type.
  356.     #if(switch30)
  357.         SetActiveCopy(NAVCopy, install.inf)
  358.     #else
  359.         SetActiveCopy(NAVCopyWinNT, install.inf)
  360.     #endif
  361. #endif
  362.  
  363. ;/////////////////////////////////////
  364. ;// S E L E C T  C O M P O N E N T S
  365. ;/////////////////////////////////////
  366. :compselect
  367. WizardPanel(SelectComponents, siwnav32.dll)
  368. WizardIncludePanel(NoDiskSpace)
  369. WizardIncludePanel(StartupDlg)
  370. WizardIncludePanel(RescueDlg)
  371. #if(switch63)
  372.     WizardProcessPanel()
  373. #else
  374.     WizardExcludePanel(SelectComponents)
  375. #endif
  376.  
  377. ;//////////////////////////////////////////////////
  378. ;// C O M P R E S S E D   D R I V E   D I A L O G
  379. ;//////////////////////////////////////////////////
  380. :CompressedDialog
  381. WizardPanel(CompressedDrive, siwnav32.dll)
  382.  
  383. switch40 = FALSE
  384.  
  385. #ifnot(switch31)
  386.     switch40 = IsDriveCompressed(ALL)   ; Don't check compressed for NT
  387. #endif
  388.  
  389. #if(switch40)
  390.     WizardProcessPanel()
  391. #endif
  392. WizardExcludePanel(CompressedDrive)
  393.  
  394. ;////////////////////////////////////////////
  395. ;// C H E C K   F O R   D R I V E S P A C E
  396. ;////////////////////////////////////////////
  397. :checkspace
  398. Wizardpanel(NoDiskSpace, siwnav32.dll)
  399. switch71 = FALSE
  400. switch72 = FALSE
  401.  
  402. switch98 = CheckDiskSpace(TARGET)       ; Selected components fit on target?
  403. #ifnot(switch98)
  404.     switch99 = IsSilentMode()
  405.     #if(switch99)
  406.         CallProc(ShowWinSpaceError)    ; Show error message if in Silent Mode
  407.         Goto(CleanupAndExit)
  408.     #else
  409.         WizardProcessPanel()            ; Display error if not
  410.     #endif
  411. #else
  412.     WizardExcludePanel(NoDiskSpace)
  413. #endif
  414.  
  415. #if(switch71)                           ; User will deselect some components
  416.     switch63 = TRUE;                    ; set SWITCH_CUSTOM switch to TRUE
  417.     WizardGotoPanel(SelectComponents)
  418. #endif
  419. #if(switch72)
  420.     WizardGotoPanel(SpecifyLocation)    ; Select another drive to install to
  421. #endif
  422.  
  423. ;/////////////////////////////////////
  424. ;// KEEP CURRENT SETTINGS (optional)
  425. ;/////////////////////////////////////
  426. :KeepSettingsDialog
  427. WizardPanel(KeepSettingsDlg, siwnav.dll)
  428. WizardIncludePanel(StartupDlg)
  429. switch99 = Exists(NavoptsFind)
  430. #if(switch99)
  431.     WizardProcessPanel()
  432. #else
  433.     switch78 = FALSE
  434.     WizardExcludePanel(KeepSettingsDlg)
  435. #endif
  436.  
  437. ;////////////////////////////////////////
  438. ;//       CHECK FOR NETSCAPE INSTALL
  439. ;////////////////////////////////////////
  440. WizardPanel(NetscapeDetected, siwnav32.dll)
  441. switch58 = CallProcEx(CheckNetscapeInstall)
  442. #if(switch58)
  443.     WizardProcessPanel()
  444. #else
  445.     switch59=FALSE                      ; Deselect add as help app
  446.     WizardExcludePanel(NetscapeDetected)
  447. #endif
  448.  
  449. ;//////////////////////////////////
  450. ;// S T A R T U P   O P T I O N S
  451. ;//////////////////////////////////
  452. :StartupDialog
  453. WizardPanel(StartupDlg, siwnav32.dll)
  454.  
  455. switch84 = IsOptionSelected(navboot)
  456. switch85 = IsOptionSelected(navapw)
  457. switch86 = IsOptionSelected(scheduler)
  458. switch87 = IsOptionSelected(rescue)
  459.                                         ; Only change options if component
  460.                                         ; has since been deselected.
  461. #ifnot(switch85)
  462.     switch80 = FALSE
  463. #endif
  464. #ifnot(switch86)
  465.     switch81 = FALSE
  466. #endif
  467. #ifnot(switch84)
  468.     switch82 = FALSE
  469. #endif
  470.  
  471. #if(switch78)                           ; Skip if keeping old options.
  472.     WizardExcludePanel(StartupDlg)
  473.     WizardGotoPanel(RescueDlg)
  474. #endif
  475.  
  476. #ifnot(switch85)
  477.     #ifnot(switch86)
  478.         #ifnot(switch84)
  479.             WizardExcludePanel(StartupDlg)
  480.             WizardGotoPanel(RescueDlg)
  481.     #endif
  482.     #endif
  483. #endif
  484.  
  485. WizardProcessPanel()
  486.  
  487. ;////////////////////////////////
  488. ;//  R E S C U E  D I A L O G
  489. ;////////////////////////////////
  490. :RescueDialog
  491. WizardPanel(RescueDlg, siwnav32.dll)
  492.  
  493. switch99 = IsOptionSelected(rescue)
  494.  
  495. #if(switch99)                           ; Create a rescue disk
  496.     #ifnot(switch55)                    ; No infected files
  497.         WizardProcessPanel()
  498.     #else
  499.         switch83 = FALSE;               ; Infected files - don't make rescue disks
  500.         WizardExcludePanel(RescueDlg)
  501.     #endif
  502. #else
  503.     switch83 = FALSE                    ; Can't make a disk if not copying
  504.     WizardExcludePanel(RescueDlg)
  505. #endif
  506.  
  507.  
  508. ;////////////////////////////////////////
  509. ;// C O P Y   F I L E S   D I A L O G
  510. ;////////////////////////////////////////
  511. :CopyFilesDialog
  512. WizardPanel(CopyFiles, siwnav.dll)
  513. WizardProcessPanel()
  514.  
  515. ;////////////////////////////////////////
  516. ;// C R E A T E   D I R E C T O R I E S
  517. ;////////////////////////////////////////
  518. CreateDirectory(CreateExtDir)
  519. CreateDirectory(CreateSharedDir)
  520.  
  521. ;////////////////////////////////////////
  522. ;// SELECT/DESELECT BEFORE COPY
  523. ;////////////////////////////////////////
  524.  
  525. #if(switch78)                           ; Keep previous options
  526.     switch99 = Exists(NavoptsFind)
  527.     #if(switch99)
  528.         DeselectOption(options)
  529.     #endif
  530.     switch99 = Exists(NewoptsFind)
  531.     #if(switch99)
  532.         DeselectOption(newoptions)
  533.     #endif
  534. #endif
  535.  
  536. #if(switch78)                           ; Inhibit copy of schedule.dat
  537.     DeselectOption(SchedDat)            ; if keeping old options.
  538. #else                                   ;
  539.     #ifnot(switch81)                    ; Inhibit copy of schedule.dat
  540.         DeselectOption(SchedDat)        ; if not selected.
  541.     ;#else
  542.                                         ; Copy default schedule.dat
  543.                                         ; and set path.
  544.     #endif
  545. #endif
  546.  
  547. ;////////////////////////////////////////
  548. ;//        C O P Y   F I L E S
  549. ;////////////////////////////////////////
  550.  
  551. ResetTarget(Target5VerCheck)            ; Target 5 = TARGET for version checks.
  552.  
  553. DisableUtils()
  554. Copy()
  555. EnableUtils()
  556.  
  557. ; Run the MS Sweeper install program
  558. ; NOTE: Launch() does not wait for the app to finish before proceeding
  559.  
  560. Launch(WintdistRun)
  561.  
  562. switch99 = CallProcEx(SymevntAsNew)
  563. #if(switch99)
  564.     Backup(SymevntNewer)
  565. #endif
  566. Delete(SymevntTempDel)
  567.  
  568. switch99 = CallProcEx(InfodeskAsNew)
  569. #if(switch99)
  570.     Backup(InfodeskNewer)
  571. #endif
  572. Delete(InfodeskTempDel)
  573.  
  574. switch99 = CallProcEx(SymstatAsNew)
  575. #if(switch99)
  576.     Backup(SymstatNewer)
  577. #endif
  578. Delete(SymstatTempDel)
  579.  
  580.                                ; Update Symevnt files if in system dir
  581. switch99 = Exists(SymevntFind)
  582. #if(switch99)
  583.     Backup(SymevntCopy)
  584. #endif
  585. switch99 = Exists(Symevnt16Find)
  586. #if(switch99)
  587.     Backup(Symevnt16Copy)
  588. #endif
  589. switch99 = Exists(Symevnt32Find)
  590. #if(switch99)
  591.     Backup(Symevnt32Copy)
  592. #endif
  593.  
  594.  
  595. ;/////////////////////////////////////////
  596. ;// O N R A M P  I N S T A L L  H E R E
  597. ;/////////////////////////////////////////
  598.  
  599. ;ResetTarget(Target2Onramp)            ; TARGET2 = TARGET for Onramp (temp)
  600. ;ResetTarget(Target2to3)               ; TARGET3 = TARGET for Onramp
  601. ;ResetTarget(TargetExt)                ; Reset TARGET2
  602.  
  603. ResetTarget(Target10toLiveUpdateDir)   ; TARGET10 = \Symantec\LiveUpdate
  604. #if(switch92)
  605. CreateDirectory(CreateOnrampDir)
  606.                                       ; Copy OnrampFiles
  607. switch99 = CallProcEx(OnrampexeAsNew)
  608. #if(switch99)
  609.     Backup(OnrampexeNewer)
  610. #endif
  611. switch99 = CallProcEx(Symmal32AsNew)
  612. #if(switch99)
  613.     Backup(Symmal32Newer)
  614. #endif
  615. switch99 = CallProcEx(Symhm32AsNew)
  616. #if(switch99)
  617.     Backup(Symhm32Newer)
  618. #endif
  619. switch99 = CallProcEx(Symhf32AsNew)
  620. #if(switch99)
  621.     Backup(Symhf32Newer)
  622. #endif
  623. switch99 = CallProcEx(Symdis32AsNew)
  624. #if(switch99)
  625.     Backup(Symdis32Newer)
  626. #endif
  627. switch99 = CallProcEx(Symuzp32AsNew)
  628. #if(switch99)
  629.     Backup(Symuzp32Newer)
  630. #endif
  631. CallProcEx(OnrampUsageCounts)
  632. MergeRegFile(OnrampReg)
  633. #endif ;(switch92)
  634.  
  635. Delete(OnrampTempDel)
  636.                                            ;reset TARGET3
  637. switch99 = CallProcEx(FindSharedComponents) ; Get shared comp dir from reg
  638. #ifnot(switch99)
  639.     #ifnot(switch03)                ; If shared comp folder not registered and
  640.         GetSymantecDir()            ; no LFN support, use short Symantec dir.
  641.         ResetTarget(TargetShared)
  642.         ResetTarget(TargetSharedShort)
  643.     #endif
  644. #endif
  645.  
  646.  
  647. ;/////////////////////////////////////////
  648. ;// U P D A T E   U S A G E  C O U N T S
  649. ;/////////////////////////////////////////
  650. CallProcEx(UsageCounts)
  651.  
  652. ;////////////////////////////////////////////////////////////////
  653. ;// C R E A T E   S H O R T   N A M E S   F O R   T A R G E T S
  654. ;////////////////////////////////////////////////////////////////
  655. ResetTarget(TargetSharedShort)
  656. CallProcEx(GetShort)
  657. ResetTarget(TargetSharedSave)           ; Save SFN of shared path in TARGET5
  658. ResetTarget(TargetShort)
  659. CallProcEx(GetShort)                    ; Set SFN of target path in TARGET4
  660.  
  661. MergeRegFile(NavReg)                    ; NAV95.REG needs LFN of shared in TARGET3
  662.                     ; And SFN of target path in TARGET4
  663. switch99=IsSilentMode()                 ; IsSilentMode(switch99) in the manual, but did not work
  664.  
  665. #if(switch58)                           ; if Netscape has been installed
  666.   #if(switch59)                         ; and Helper plug-in selected.
  667.     #if(switch99)
  668.       #if(switch90)                     ; silent mode AND default is set to TRUE
  669.         CallProcEx(MergeNetscapePluginKey)
  670.       #endif
  671.     #else
  672.       CallProcEx(MergeNetscapePluginKey)    ; not silent, use user's input
  673.     #endif
  674.   #endif
  675. #endif
  676.  
  677. ResetTarget(TargetSave)                 ; Save SFN of target path in TARGET3
  678. ResetTarget(TargetExtShort)
  679. CallProcEx(GetShort)                    ; Set SFN of app ext path in TARGET4
  680.  
  681. ;///////////////////////////////////////////////////////////////
  682. ;// U P D A T E  A U T O / C O N F I G / I N I  A S  N E E D E D
  683. ;///////////////////////////////////////////////////////////////
  684.  
  685. ResetTarget(TargetRoot)                 ; Temporarily set TARGET4 to C:\
  686.  
  687. switch99=Exists(ConfigFind)
  688. #if(switch99)
  689.     switch05=VerifyStartup(CheckAVConfig1)
  690.     #ifnot(switch05)
  691.     switch05=VerifyStartup(CheckAVConfig2)
  692.     #endif
  693.     #ifnot(switch05)
  694.     switch05=VerifyStartup(CheckAVConfig3)
  695.     #endif
  696.     #ifnot(switch05)
  697.     switch05=VerifyStartup(CheckAVConfig4)
  698.     #endif
  699.     #ifnot(switch05)
  700.     switch05=VerifyStartup(CheckAVConfig5)
  701.     #endif
  702.     #ifnot(switch05)
  703.     switch05=VerifyStartup(CheckAVConfig6)
  704.     #endif
  705.     #ifnot(switch05)
  706.     switch05=VerifyStartup(CheckAVConfig7)
  707.     #endif
  708.     #ifnot(switch05)
  709.     switch05=VerifyStartup(CheckAVConfig8)
  710.     #endif
  711.     #if(switch05)
  712.         #if(switch03)                           ; Boot drive support LFN?
  713.             Backup(SaveConfigLFN)
  714.         #else
  715.             Backup(SaveConfigSFN)
  716.         #endif
  717.         SilentModifyTF(ModifyConfig)
  718.     #endif
  719. #endif
  720.  
  721. ;// Modify Autoexec.Bat Wizard
  722. WizardPanel(ModifyFile, siwnav32.dll)
  723.  
  724. switch06 = FALSE
  725. switch99=Exists(AutoexecFind)
  726. #if(switch99)
  727.     #if(switch03)                           ; Boot drive support LFN?
  728.         Backup(SaveAutoexecLFN)
  729.     #else
  730.         Backup(SaveAutoexecSFN)
  731.     #endif
  732. #endif
  733.  
  734. ResetTarget(TargetExtShort)             ; Restore TARGET4
  735.  
  736. switch84 = IsOptionSelected(navboot)
  737.  
  738. #if(switch84)
  739.     Backup(AutoexecCopy)
  740.     SilentModifyTF(ModifyAutoexecAddNAV)
  741.     WizardProcessPanel()
  742. #else
  743.     #if(switch99)
  744.         SilentModifyTF(ModifyAutoexec)
  745.     #endif
  746. #endif
  747.  
  748. #ifnot(switch06)                        ; Not modifying - del autoexec backup
  749.     Delete(CopyOfAutoexecDelLFN)
  750. #endif
  751.  
  752. WizardExcludePanel(ModifyFile)
  753.  
  754. :checksysini
  755.  
  756. :checkschedini                          ; Write the scheduler INI file
  757.     switch99 = Exists(SchedIniFind)
  758.     #ifnot(switch99)
  759.         SilentModifyTF(CreateSchedIni)
  760.     #endif
  761.     UpdateIni(AddNewSched)
  762. #if(switch81)                           ; Scheduler is being installed
  763.     CallProcEx(FridayScan)
  764. #endif
  765.  
  766. switch99 = VerifyIni(CheckAVSystemIni)
  767. #if(switch99)
  768.     #if(switch03)
  769.         Backup(SaveSysIniLFN)
  770.     #else
  771.         Backup(SaveSysIniSFN)
  772.     #endif
  773.     SilentModifyTF(ModifySystemIni)
  774. #endif
  775.  
  776.  
  777. RemoveFromLoad(PrevAVLoad1)             ; Remove old AV from Win.ini
  778. RemoveFromLoad(PrevAVLoad2)
  779. RemoveFromLoad(PrevAVLoad3)
  780. RemoveFromLoad(PrevAVLoad4)
  781. RemoveFromLoad(PrevAVLoad5)
  782.  
  783. ;/////////////////////////////////
  784. ;// U P D A T E   I N F O D E S K
  785. ;/////////////////////////////////
  786.  
  787. SilentModifyTF(AddContents)
  788.  
  789. ;//////////////////////////////////////////////////////////
  790. ;// S T O R E   U S E R  R E G I S T R A T I O N  I N F O
  791. ;//////////////////////////////////////////////////////////
  792. CallProcEx(SetNavoptsReg)               ; In place of RegisterNAV30()
  793. SetRegistration(SetNAVRegister)
  794.  
  795. ;///////////////////////////////
  796. ;// U P D A T E   O P T I O N S
  797. ;///////////////////////////////
  798.  
  799. #ifnot(switch78)                        ; Keep old options?
  800.     CallProcEx(SetLoadNavap)            ; Based on switch80
  801.     CallProcEx(SetStartupScan)          ; Based on switch 82
  802.     CallProcEx(UpdateNavstart)          ; Reset startup scan lists.
  803. #endif
  804.  
  805. ;/////////////////////////////////////////////
  806. ;// A D D   N A V   R E G I S T R Y   I N F O
  807. ;/////////////////////////////////////////////
  808.  
  809. CallProcEx(AddDefinitionsLocation)
  810.  
  811. CallProc(ExecSetupTrial)
  812.  
  813. MergeRegFile(SageReg)
  814.  
  815. switch99 = IsOptionSelected(install)
  816. #if(switch99)
  817.     MergeRegFile(SetupReg)
  818. #endif
  819.  
  820. switch99 = IsOptionSelected(navw32)
  821. #if(switch99)
  822.     MergeRegFile(NavwReg)
  823. #endif
  824.  
  825. switch99 = IsOptionSelected(navapw)
  826. #if(switch99)
  827.     MergeRegFile(NavapwReg)
  828. #endif
  829.  
  830. switch99 = IsOptionSelected(Scheduler)
  831. #if(switch99)
  832.     MergeRegFile(SchedReg)
  833. #endif
  834.  
  835. switch99 = IsOptionSelected(rescue)
  836. #if(switch99)
  837.     MergeRegFile(RescuewReg1)
  838.     MergeRegFile(RescuewReg2)
  839.     MergeRegFile(RescuewReg3)
  840. #endif
  841.  
  842. #if(switch78)                           ; Inhibit creation of Scheduler in
  843.     DeselectOption(SchedStart)          ; Startup group if keeping old options
  844. #else                                   ; or not selected.
  845.     #ifnot(switch81)
  846.         DeselectOption(SchedStart)      ; Remove existing startup link, if
  847.         CallProc(RemoveStartupSchedLink); not selected and not keep old options
  848.     #else                               ; Don't retain current settings
  849.                                         ; and run scheduler to scan weekly.
  850.         CallProc(SetPathInScheduleDat)
  851.     #endif
  852. #endif
  853.  
  854. ;//////////////////////////////////////////////
  855. ;// C R E A T E   P R O G R A M   G R O U P S
  856. ;//////////////////////////////////////////////
  857.  
  858. ; First remove old NAV 3.0 links which may exist after installing Windows 95
  859. ; over Windows 3.1 with NAV 3.0
  860. CallProc(RemoveNAVLink)
  861. CallProc(RemoveAutoProtLink)
  862. CallProc(RemoveNAVforDOSLink)
  863. CallProc(RemoveSchedLink)
  864.  
  865. Groups() ; this is the call to the SIW code, save for NT use??
  866.  
  867. ;CallProc( DoGroups ) ; This is the call to our custom shell link groups.
  868.  
  869. ;//////////////////////////////////
  870. ;//      R U N   R E S C U E
  871. ;//////////////////////////////////
  872. :RunRescue
  873. #if(switch83)
  874.     CallProc(FloppyInDrive)
  875.     #if (switch69)
  876.         WizardPanel(RescueFloppyDialog, siwnav32.dll)
  877.         WizardProcessPanel()
  878.         WizardExcludePanel(RescueFloppyDialog)
  879.         Goto(RunRescue)
  880.     #endif
  881.     Backup(RescueCopy)
  882.     ExecChildProcess(RescueRun)
  883.     ;CallProc(ExecRescue)
  884. #endif
  885.  
  886. ;//////////////////////////////
  887. ;//      C L E A N   U P
  888. ;//////////////////////////////
  889. CallProcEx(UpdateInstFlag)
  890. UpdateReg32(RegUpdate)
  891.  
  892. ;////////////////////////////////////////////////////////////
  893. ;//  U S E   L I V E U P D A T E   D I A L O G
  894. ;////////////////////////////////////////////////////////////
  895. WizardPanel(UseLiveUpdate, siwnav32.dll)
  896. #if(switch92)
  897.     WizardProcessPanel()
  898. #endif
  899.  
  900. ;////////////////////////////////////////////////////////////
  901. ;//  T E C H  S U P P O R T   D I A L O G
  902. ;////////////////////////////////////////////////////////////
  903. WizardPanel(TechSupport, siwnav32.dll)
  904. WizardProcessPanel()
  905.  
  906. ;////////////////////////////////////////////////////////////
  907. ;//  H O W   T O   R E A C H   U S   D I A L O G
  908. ;////////////////////////////////////////////////////////////
  909. WizardPanel(Reach, siwnav32.dll)
  910. WizardProcessPanel()
  911.  
  912. ;////////////////////////////////////////////////////////////
  913. ;//  C R O S S    S E L L   D I A L O G
  914. ;////////////////////////////////////////////////////////////
  915. WizardPanel(CrossSell, siwnav32.dll)
  916. WizardProcessPanel()
  917.  
  918. ;////////////////////////////////////////
  919. ;// O N L I N E   R E G I S T R A T I O N
  920. ;////////////////////////////////////////
  921.  
  922. WizardPanel(RegisterNow, siwnav32.dll)
  923. WizardIncludePanel(SendRegistration)
  924. WizardIncludePanel(OnlineMarketing)
  925. WizardIncludePanel(OnlineRegistration)
  926.  
  927. WizardSetSkip(RegisterNow, Finished)
  928. WizardProcessPanel()
  929.  
  930. WizardPanel(OnlineRegistration, siwnav32.dll)
  931. WizardSetSkip(OnlineRegistration, Finished)
  932. WizardProcessPanel()
  933.  
  934. WizardPanel(OnlineMarketing, siwnav32.dll)
  935. WizardSetSkip(OnlineMarketing, Finished)
  936. WizardProcessPanel()
  937. WizardSetSkip(SendRegistration, Finished)
  938.  
  939. WizardPanel(SendRegistration, siwnav32.dll)
  940. WizardProcessPanel()
  941.  
  942.  
  943. WizardExcludePanel(SendRegistration)
  944. WizardExcludePanel(OnlineMarketing)
  945. WizardExcludePanel(OnlineRegistration)
  946.  
  947. ;////////////////////////////////////
  948. ;// P R E P A R E   F O R   E X I T
  949. ;////////////////////////////////////
  950. WizardPanel(Finished, siwnav32.dll)
  951. switch99=IsSilentMode()
  952. ; The code below fixes a GP that appeared at the Finished panel
  953. ;  during the GM phase of Hydra.  This could be related to the
  954. ;  32 panel problem (which was discovered after this fix was
  955. ;  implemented) so this could possibly be eliminated in the 
  956. ;  future.
  957. #if (switch99)
  958.     switch73=TRUE
  959. #else
  960.     switch73=FALSE
  961.     WizardProcessPanel()
  962. #endif
  963.  
  964. ;/////////////////////////////////////////////////////////////////////
  965. ;// C H E C K   F O R   F L O P P Y   B E F O R E   R E B O O T I N G
  966. ;/////////////////////////////////////////////////////////////////////
  967. :CheckForFloppy
  968. WizardPanel(RebootFloppyDialog, siwnav32.dll)
  969. :CheckForFloppy2
  970. #if(switch73)
  971.     CallProc(FloppyInDrive)
  972.     #if (switch69)
  973.         switch99=IsSilentMode()
  974.         #if (switch99)
  975.             CallProc(ShowRemoveDiskError)
  976.             Goto(CheckForFloppy2)
  977.         #else
  978.             WizardProcessPanel()
  979.             WizardGotoPanel(RebootFloppyDialog)
  980.         #endif
  981.     #endif
  982. #endif
  983.  
  984. ;//////////////////////////////////////////
  985. ;// D E L E T E  L E F T O V E R  D L L S
  986. ;//////////////////////////////////////////
  987. :CleanupAndExit
  988.  
  989. CallProcEx(ExitHookProc)
  990. Delete(CustDLLDel)
  991. Delete(RescueDelete)
  992. Delete(WintdistDelete)
  993. Delete(Leftovers)
  994. #if(switch73)
  995.     ExitRestart()
  996. #else
  997.     Exit()
  998. #endif
  999.  
  1000. End()
  1001.  
  1002. ;###########################################################################
  1003. ;##########End of process section. Begin sections referenced above##########
  1004. ;###########################################################################
  1005.  
  1006. ;***************************************************************************
  1007. ;* SubProc Executed When Install Takes Over As Shell                       *
  1008. ;***************************************************************************
  1009. [SubProc]
  1010. SaveRegistry(SaveRegGroup)     ; Save the registry
  1011. EnableForceWrite()
  1012. MakeFilesReadWrite(RWSetup)
  1013. DelFromIni(DelVxds)            ; Remove Symevnt loaders from SYSTEM.INI
  1014. Backup(CustDLLCopy)            ; Copy custom dll to temp dir
  1015. CallProc(BackupNavap)
  1016. Return()
  1017.  
  1018. ;***************************************************************************
  1019. ;* Backup the registry
  1020. ;***************************************************************************
  1021. [SaveRegGroup]
  1022. WINDOWS, system.nav, user.nav
  1023.  
  1024. ;***************************************************************************
  1025. ;* SetShell section                                                        *
  1026. ;***************************************************************************
  1027. ;[SetShell]
  1028. ;WinIniName = win.ini
  1029. ;SystemIniName = system.ini
  1030. ;Message = MessageBox.SetShellMessage
  1031. ;SysSectionName = boot
  1032. ;WinSectionName = windows
  1033. ;shell = %s\setup.exe
  1034. ;load =
  1035. ;run =
  1036. ;SetShellIfLoaded=
  1037. ;Backup = Backup.SetShellSave
  1038. ;Restore = Backup.SetShellRestore
  1039. ;SubProcess=SubProc
  1040. ;IfActiveList=LoadedList
  1041.  
  1042. ;[SetShellSave]
  1043. ;win.ini, win.siw, WINDOWS, WINDOWS
  1044. ;system.ini, system.siw, WINDOWS, WINDOWS
  1045.  
  1046. ;[SetShellRestore]
  1047. ;system.siw, system.ini, WINDOWS, WINDOWS
  1048. ;win.siw, win.ini, WINDOWS, WINDOWS
  1049.  
  1050. [LoadedList]
  1051. navw32.exe
  1052. navapw32.exe
  1053. nsched32.exe
  1054. nresq32.exe
  1055. navboot.exe
  1056. symnav7.dll
  1057. s32nav7.dll
  1058. symnav8.dll
  1059. s32nav8.dll
  1060. symevnt1.dll
  1061. s32evnt1.dll
  1062. s32stat.dll
  1063.  
  1064. [SetShellMessage]
  1065. caption  =  "Norton AntiVirus for Windows 95 Setup"
  1066. "Welcome to the Norton AntiVirus for Windows 95 Setup. "
  1067. " "
  1068. "Please select OK to allow Setup to restart Windows"
  1069. "and continue the installation. "
  1070. " "
  1071. "Press Cancel to exit Setup. "
  1072.  
  1073. [ResetShellHook]
  1074. dll = siwnav32.dll
  1075. function = RestoreVxDKey
  1076. vxd = NAVAP
  1077.  
  1078.  
  1079. [InsertSourceDisk]
  1080. caption  =  "Norton AntiVirus for Windows 95 Setup"
  1081. "Please re-insert Norton AntiVirus for Windows, Disk1"
  1082.  
  1083. ;***************************************************************************
  1084. ;* External function calls                                                 *
  1085. ;***************************************************************************
  1086.  
  1087. [FindSymevntDll]
  1088. dll = siwnav32.dll
  1089. function = FindSymevnt
  1090.  
  1091. [NukeSymevntDll]
  1092. dll = siwnav32.dll
  1093. function = NukeSymevnt
  1094.  
  1095. [SymevntAsNew]
  1096. dll = siwnav32.dll
  1097. function = IsFileAsNew
  1098. file = SYMEVNT.386, TARGET5, TARGET3
  1099.  
  1100. [InfodeskAsNew]
  1101. dll = siwnav32.dll
  1102. function = IsFileAsNew
  1103. file = INFODESK.DLL, TARGET5, TARGET3
  1104.  
  1105. [SymstatAsNew]
  1106. dll = siwnav32.dll
  1107. function = IsFileAsNew
  1108. file = S32STAT.DLL, TARGET5, TARGET3
  1109.  
  1110. [OnrampexeAsNew]
  1111. dll = siwnav32.dll
  1112. function = IsFileAsNew
  1113. file = LIVEUPDT.EXE, TARGET5, TARGET10
  1114.  
  1115. [Symmal32AsNew]
  1116. dll = siwnav32.dll
  1117. function = IsFileAsNew
  1118. file = S32LIVE1.DLL, TARGET5, TARGET10
  1119.  
  1120. [Symhm32AsNew]
  1121. dll = siwnav32.dll
  1122. function = IsFileAsNew
  1123. file = S32LUHM1.DLL, TARGET5, TARGET10
  1124.  
  1125. [Symhf32AsNew]
  1126. dll = siwnav32.dll
  1127. function = IsFileAsNew
  1128. file = S32LUHF1.DLL, TARGET5, TARGET10
  1129.  
  1130. [Symdis32AsNew]
  1131. dll = siwnav32.dll
  1132. function = IsFileAsNew
  1133. file = S32LUIS1.DLL, TARGET5, TARGET10
  1134.  
  1135. [Symuzp32AsNew]
  1136. dll = siwnav32.dll
  1137. function = IsFileAsNew
  1138. file = S32LUUZ1.DLL, TARGET5, TARGET10
  1139.  
  1140. [CheckLFNTarget]
  1141. dll = siwnav32.dll
  1142. function = DriveSupportsLFN
  1143. location = TARGET
  1144.  
  1145. [CheckLFNCDrive]
  1146. dll = siwnav32.dll
  1147. function = DriveSupportsLFN
  1148. location = C
  1149.  
  1150. [CheckLFNWindows]
  1151. dll = siwnav32.dll
  1152. function = DriveSupportsLFN
  1153. location = WINDOWS
  1154.  
  1155. [FindSharedComponents]
  1156. dll = siwnav32.dll
  1157. function = FindSharedComponents
  1158.  
  1159. [CheckPrevVer]
  1160. dll = siwnav32.dll
  1161. function = CheckPrevVersion
  1162.  
  1163. [UpdateInstFlag]
  1164. dll = siwnav32.dll
  1165. function = UpdateInstalledFlag
  1166.  
  1167. [UsageCounts]
  1168. dll = siwnav32.dll
  1169. function = UpdateUsageCounts
  1170.  
  1171. [OnrampUsageCounts]
  1172. dll = siwnav32.dll
  1173. function = OnrampUpdateUsageCounts
  1174.  
  1175. [RemoveInfoDesk]
  1176. dll = siwnav32.dll
  1177. function = NAVRemoveInfoDesk
  1178.  
  1179. ; =================================================
  1180. ; the following 2 sections are used to merge
  1181. ; Netscape plug-in keys
  1182. ; =================================================
  1183. [MergeNetscapePluginKey]
  1184. dll = siwnav32.dll
  1185. function = Sphinx_UpdateNetscapePlugin
  1186.  
  1187. [NetscapePlugIn]
  1188. application/octet-stream, "386,bin,cla,com,cpl,dll,doc,dot,drv,exe,ncp,ned,nnl,ocx,ovl,scr,sys,vbx,vxd"
  1189. application/zip,"zip,lha,lzh"
  1190. application/msexcel,"xlb,xlm,xls,xlt,xlw"
  1191. application/msword,"doc,dot"
  1192. application/binary
  1193. application/word
  1194. application/octet-string
  1195. file/executable
  1196. application/x-binary
  1197. application/x-compressed
  1198. application/x-excel
  1199. application/x-msword
  1200. application/x-word
  1201. application/x-winexe
  1202. application/x-lha-compressed
  1203. application/x-lzh-compressed
  1204. application/x-zip-compressed
  1205. application/x-lha
  1206. application/x-lzh
  1207. application/x-zip
  1208. application/x-msdownload
  1209.  
  1210. [GetShort]
  1211. dll = siwnav32.dll
  1212. function = ConvertToShortName
  1213.  
  1214. [SetNavoptsReg]
  1215. dll = siwnav32.dll
  1216. function = SetNavoptsRegInfo
  1217.  
  1218. [SetLoadNavap]
  1219. dll = siwnav32.dll
  1220. function = SetLoadNavapOptions
  1221.  
  1222. [SetStartupScan]
  1223. dll = siwnav32.dll
  1224. function = SetStartupScanOptions
  1225.  
  1226. [UpdateNavstart]
  1227. dll = siwnav32.dll
  1228. function = UpdateNavstart
  1229.  
  1230. [CheckWinSpace]
  1231. dll = siwnav32.dll
  1232. function = WindowsDriveSpace
  1233.  
  1234. [InitMemory]
  1235. dll = siwnav32.dll
  1236. function = InitMemory
  1237.  
  1238. [CheckNetscapeInstall]
  1239. dll = siwnav32.dll
  1240. function = CheckNetscapeInstall
  1241.  
  1242. [IsPlatformNT]
  1243. dll = siwnav32.dll
  1244. function = IsPlatformNT
  1245.  
  1246. ; MOREWORK:
  1247. [DoGroups]
  1248. dll = siwnav32.dll
  1249. function = CreateGroupItems
  1250.  
  1251. [FloppyInDrive]
  1252. dll = siwnav32.dll
  1253. function = IsFloppyInDrive
  1254.  
  1255. [ExitHookProc]
  1256. dll = siwnav32.dll
  1257. function = ReleaseMemory
  1258. delete = CustDLLDel
  1259.  
  1260. [BackupNavap]
  1261. dll = siwnav32.dll
  1262. function = BackupVxDKey
  1263. vxd = NAVAP
  1264.  
  1265. [RestoreNavap]
  1266. dll = siwnav32.dll
  1267. function = RestoreVxDKey
  1268. vxd = NAVAP
  1269.  
  1270. [RemoveNAVLink]
  1271. dll = siwnav32.dll
  1272. function = RemoveProgramLink
  1273. Link = "Norton AntiVirus\Norton AntiVirus.LNK"
  1274.  
  1275. [RemoveAutoProtLink]
  1276. dll = siwnav32.dll
  1277. function = RemoveProgramLink
  1278. Link = "Norton AntiVirus\Norton AntiVirus Auto-Protect.LNK"
  1279.  
  1280. [RemoveNAVforDOSLink]
  1281. dll = siwnav32.dll
  1282. function = RemoveProgramLink
  1283. Link = "Norton AntiVirus\Norton AntiVirus for DOS.PIF"
  1284.  
  1285. [RemoveSchedLink]
  1286. dll = siwnav32.dll
  1287. function = RemoveProgramLink
  1288. Link = "Norton AntiVirus\Norton Scheduler.LNK"
  1289.  
  1290. [RemoveStartupSchedLink]
  1291. dll = siwnav32.dll
  1292. function = RemoveStartupLink
  1293. Link = "Norton Program Scheduler.LNK"
  1294.  
  1295. [SetPathInScheduleDat]
  1296. dll = siwnav32.dll
  1297. function = SetPathInScheduleDat
  1298. file = SCHEDULE.DAT
  1299.  
  1300. [AddDefinitionsLocation]
  1301. dll = siwnav32.dll
  1302. function = AddDefinitionsLocationKey
  1303.  
  1304. [ShowRemoveDiskError]
  1305. dll = siwnav32.dll
  1306. function = ShowSMErrMessage
  1307. msg="Please remove all disks from your floppy drives (A: and B:) and press OK to continue."
  1308.  
  1309. [ShowWinSpaceError]
  1310. dll = siwnav32.dll
  1311. function = ShowSMErrMessage
  1312. msg="There is not enough free disk space to install Norton AntiVirus on your system.  Please free some space and try again."
  1313.  
  1314. [Luigi]
  1315. siw.qpd, SOURCE
  1316.  
  1317. [LuigiVer2]
  1318. nav95v2.ver, SOURCE
  1319.  
  1320. ;***************************************************************************
  1321. ;* Dialog Info                                                             *
  1322. ;***************************************************************************
  1323.  
  1324. ; MOREWORK: Still needed?
  1325. [NAVCopy:TypeSelect]
  1326. count = 2
  1327. caption = "Norton AntiVirus for Windows 95 Install Type"
  1328. text = "Please select the type of install you want to perform."
  1329. grouptext = "Install Types"
  1330. button1 = "&Full Install"
  1331. button2 = "C&ustom Install"
  1332. descrip1 = "Installs and configures complete AntiVirus protection for your computer.  This will require xx.x MB of disk space."
  1333. descrip2 = "Lets you choose which Norton AntiVirus modules to install.  If you need more options later, you can run setup again."
  1334.  
  1335. ; MOREWORK: Still needed?
  1336. [NAVCopy:Primary]
  1337. caption = "Norton AntiVirus for Windows 95 Main Selection"
  1338. button1 = "Select..."
  1339. button2 = "Select..."
  1340. button3 = "Select..."
  1341. button4 = "Select..."
  1342. button5 = "Select..."
  1343. text = App1Text
  1344. DisableButtons = 0
  1345.  
  1346. [NAVCopy:Component]
  1347. caption = "Norton AntiVirus for Windows 95 Component Selection"
  1348. text    = "Select/Deselect the components you want to install.  Checked items will be installed."
  1349.  
  1350. [NAVCopy:CopyDialog]
  1351. caption = "Copying Norton AntiVirus Files..."
  1352. posx = -10
  1353. posy = -10
  1354.  
  1355. [NAVCopy:Advo]
  1356. posx = 20
  1357. posy = 30
  1358. location = siwnav32.dll
  1359. count = 4
  1360. BitmapsOnly=1
  1361.  
  1362. ; MOREWORK: Still needed?
  1363. [NAVCopyWinNT:TypeSelect]
  1364. count = 2
  1365. caption = "Norton AntiVirus for Windows 95 Install Type"
  1366. text = "Please select the type of install you want to perform."
  1367. grouptext = "Install Types"
  1368. button1 = "&Full Install"
  1369. button2 = "C&ustom Install"
  1370. descrip1 = "Installs and configures complete AntiVirus protection for your computer.  This will require xx.x MB of disk space."
  1371. descrip2 = "Lets you choose which Norton AntiVirus modules to install.  If you need more options later, you can run setup again."
  1372.  
  1373. ; MOREWORK: Still needed?
  1374. [NAVCopyWinNT:Primary]
  1375. caption = "Norton AntiVirus for Windows 95 Main Selection"
  1376. button1 = "Select..."
  1377. button2 = "Select..."
  1378. button3 = "Select..."
  1379. button4 = "Select..."
  1380. button5 = "Select..."
  1381. text = App1Text
  1382. DisableButtons = 0
  1383.  
  1384. [NAVCopyWinNT:Component]
  1385. caption = "Norton AntiVirus for Windows 95 Component Selection"
  1386. text    = "Select/Deselect the components you want to install.  Checked items will be installed."
  1387.  
  1388. [NAVCopyWinNT:CopyDialog]
  1389. caption = "Copying Norton AntiVirus Files..."
  1390. posx = -10
  1391. posy = -10
  1392.  
  1393. [App1Text]
  1394. "Please select the items you want to install.  If a selection"
  1395. "has a button to the right, you can select individual files or"
  1396. "components."
  1397.  
  1398. [AdvoDefault]
  1399. posx = 20
  1400. posy = 30
  1401. text = AdvoText
  1402.  
  1403. [AdvoText]
  1404. ""
  1405. "Please take a moment to complete the Product Registration Card
  1406. "included with your product and return it to Symantec."
  1407. ""
  1408. "This will ensure that you receive future product announcements"
  1409. "and important notices. It will also qualify you for any discounts"
  1410. "on future upgrades."
  1411. ""
  1412. "Thank you for purchasing Norton AntiVirus for Windows 95!"
  1413.  
  1414. ;***************************************************************************
  1415. ;* Message Text                                                            *
  1416. ;***************************************************************************
  1417.  
  1418. ; MOREWORK: Still needed?
  1419. [VersionSearch]
  1420. caption =  "Searching for Previous Version"
  1421. text1   =  "Searching for a previously installed"
  1422. text2   =  "version of Norton AntiVirus for Windows 95."
  1423. appname =  "navw32.exe"
  1424. apppath =  "C:\Program Files\Norton AntiVirus"
  1425.  
  1426. ; MOREWORK: Still needed?
  1427. [SymantecDir]
  1428. caption = "Searching for Shared Directory"
  1429. text1 = "Searching for Symantec shared"
  1430. text2 = "program folder."
  1431. appname = "symcfg.bin"
  1432. apppath = C:\SYMANTEC
  1433.  
  1434. ; MOREWORK: Still needed?
  1435. [TargetDriveLFN]
  1436. caption =  "Install Norton AntiVirus Files"
  1437. defpath =  "C:\Program Files\Norton AntiVirus"
  1438. text    =  "Please select the location where you want to install Norton AntiVirus."
  1439. reqspace=  "Approximate additional disk space required"
  1440.  
  1441. ; MOREWORK: Still needed?
  1442. [TargetDriveSFN]
  1443. caption =  "Install Norton AntiVirus Files"
  1444. defpath =  "C:\NAV95"
  1445. text    =  "Please select the location where you want to install Norton AntiVirus."
  1446. reqspace=  "Approximate additional disk space required"
  1447.  
  1448. [FileCopy]
  1449. copycaption   =  "Installing Norton AntiVirus for Windows 95"
  1450. errorcaption  =  "Error Copying Files"
  1451. insertcaption =  "Insert Diskette"
  1452. Message       =   MessageText
  1453.  
  1454. [Cancel]
  1455. caption = "Symantec Setup"
  1456. text    = "The installation is not completed.
  1457. "Are you sure you would like to exit?"
  1458.  
  1459. [CancelShell]
  1460. caption = "Norton AntiVirus - Exit Setup"
  1461. "You have selected to cancel Setup."
  1462. "In order to reset the Windows"
  1463. "environment, Setup will also close"
  1464. "Windows.  Are you sure you want to exit?"
  1465.  
  1466. [Errors]
  1467. noprev  =  "Symantec Setup for Windows is already running!"
  1468.  
  1469. ;***************************************************************************
  1470. ;* Target Folder Settings                                                  *
  1471. ;***************************************************************************
  1472.  
  1473. [Target5VerCheck]
  1474. reset = TARGET5
  1475. location = %s, TARGET
  1476.  
  1477. [Target2to1]
  1478. reset = TARGET
  1479. location = %s, TARGET2
  1480.  
  1481. [Target2LFN]
  1482. reset = TARGET2
  1483. location = "Norton AntiVirus"
  1484. relative = 1
  1485. relativeto = TARGET
  1486.  
  1487. [Target2to3]
  1488. reset = TARGET3
  1489. location = %s, TARGET2
  1490.  
  1491. [Target2Onramp]
  1492. reset = TARGET2
  1493. location = "LiveUpdate"
  1494. relative = 1
  1495. relativeto = TARGET3
  1496.  
  1497. [Target2SFN]
  1498. reset = TARGET2
  1499. location = "NAV95"
  1500. relative = 1
  1501. relativeto = TARGET
  1502.  
  1503. [Target10toLiveUpdateDir]
  1504. reset = TARGET10
  1505. location = "LiveUpdate"
  1506. relative = 1
  1507. relativeto = TARGET3
  1508.  
  1509. [TargetShort]
  1510. reset = TARGET4
  1511. location = %s, TARGET
  1512.  
  1513. [TargetSave]
  1514. reset = TARGET3
  1515. location = %s, TARGET4
  1516.  
  1517. [TargetExt]
  1518. reset = TARGET2
  1519. location = "System"
  1520. relative = 1
  1521. relativeto = TARGET
  1522.  
  1523. [TargetExtShort]
  1524. reset = TARGET4
  1525. location = %s, TARGET2
  1526.  
  1527. [TargetShared]
  1528. reset = TARGET3
  1529. location = %s, TARGET5
  1530.  
  1531. [TargetSharedShort]
  1532. reset = TARGET4
  1533. location = %s, TARGET3
  1534.  
  1535. [TargetSharedSave]
  1536. reset = TARGET5
  1537. location = %s, TARGET4
  1538.  
  1539. [TargetRoot]
  1540. reset = TARGET4
  1541. location = C:\
  1542.  
  1543. [CreateExtDir]
  1544. %s, TARGET2
  1545.  
  1546. [CreateSharedDir]
  1547. %s, TARGET3
  1548.  
  1549. [CreateOnrampDir]
  1550. %s, TARGET10
  1551.  
  1552. ;***************************************************************************
  1553. ;* File backup                                                             *
  1554. ;***************************************************************************
  1555.  
  1556. [RWSetup]
  1557. setup.exe, WINDOWS
  1558.  
  1559. [SchedIniFind]
  1560. schedule.ini, WINDOWS
  1561.  
  1562. [NavoptsFind]
  1563. navopts.dat, TARGET
  1564.  
  1565. [NewoptsFind]
  1566. navstart.dat, TARGET
  1567.  
  1568. [SaveConfigSFN]
  1569. c:\config.sys, c:\config.nav
  1570.  
  1571. [SaveConfigLFN]
  1572. c:\config.sys, "c:\Copy of Config (before NAV).sys"
  1573.  
  1574. [SaveAutoexecSFN]
  1575. c:\autoexec.bat, c:\autoexec.nav
  1576.  
  1577. [SaveAutoexecLFN]
  1578. c:\autoexec.bat, "c:\Copy of Autoexec (before NAV).bat"
  1579.  
  1580. [SaveSysIniSFN]
  1581. system.ini, sysini.nav, WINDOWS, WINDOWS
  1582.  
  1583. [SaveSysIniLFN]
  1584. system.ini, "Copy of System (before NAV).ini", WINDOWS, WINDOWS
  1585.  
  1586. [CustDLLCopy]
  1587. siwnav32.dll, siwnav32.dll, SOURCE, TEMPDIR
  1588. s32scani.dll, s32scani.dll, SOURCE, TEMPDIR
  1589. navex32.dll,  navex32.dll,  SOURCE, TEMPDIR
  1590. s32nav8.dll,  s32nav8.dll,  SOURCE, TEMPDIR
  1591. pipeline.dll, pipeline.dll, SOURCE, TEMPDIR
  1592. navkrnl8.vxd, navkrnl8.vxd, SOURCE, TEMPDIR
  1593. virscan2.dat, virscan2.dat, SOURCE, TEMPDIR
  1594. virscan.dat,  virscan.dat,  SOURCE, TEMPDIR
  1595. virscan.inf,  virscan.inf,  SOURCE, TEMPDIR
  1596. intsrb.dat,   intsrb.dat,   SOURCE, TEMPDIR
  1597. intsrf.dat,   intsrf.dat,   SOURCE, TEMPDIR
  1598.  
  1599. [InfodeskNewer]
  1600. infodesk.dll, infodesk.dll, TARGET5, TARGET3
  1601. infodesk.hlp, infodesk.hlp, TARGET5, TARGET3
  1602. infodesk.cnt, infodesk.cnt, TARGET5, TARGET3
  1603. symgloss.hlp, symgloss.hlp, TARGET5, TARGET3
  1604.  
  1605. [SymstatNewer]
  1606. s32stat.dll,  s32stat.dll,  TARGET5, TARGET3
  1607.  
  1608. [OnrampexeNewer]
  1609. liveupdt.exe, liveupdt.exe, TARGET5, TARGET10
  1610.  
  1611. [Symmal32Newer]
  1612. s32live1.dll, s32live1.dll, TARGET5, TARGET10
  1613. liveupdt.hst, liveupdt.hst, TARGET5, TARGET10
  1614.  
  1615. [Symhm32Newer]
  1616. s32luhm1.dll, s32luhm1.dll, TARGET5, TARGET10
  1617. hscript.scp,  hscript.scp,  TARGET5, TARGET10
  1618.  
  1619. [Symhf32Newer]
  1620. s32luhf1.dll, s32luhf1.dll, TARGET5, TARGET10
  1621.  
  1622. [Symdis32Newer]
  1623. s32luis1.dll, s32luis1.dll, TARGET5, TARGET10
  1624.  
  1625. [Symuzp32Newer]
  1626. s32luuz1.dll, s32luuz1.dll, TARGET5, TARGET10
  1627.  
  1628. [SymevntFind]
  1629. symevnt.386, SYSTEM
  1630.  
  1631. [SymevntNewer]
  1632. symevnt.386,  symevnt.386,  TARGET5, TARGET3
  1633. symevnt1.dll, symevnt1.dll, TARGET5, TARGET3
  1634. s32evnt1.dll, s32evnt1.dll, TARGET5, TARGET3
  1635.  
  1636. [SymevntCopy]
  1637. symevnt.386, symevnt.386, TARGET3, SYSTEM
  1638.  
  1639. [Symevnt16Find]
  1640. symevnt1.dll, SYSTEM
  1641.  
  1642. [Symevnt16Copy]
  1643. symevnt1.dll, symevnt1.dll, TARGET3, SYSTEM
  1644.  
  1645. [Symevnt32Find]
  1646. s32evnt1.dll, SYSTEM
  1647.  
  1648. [Symevnt32Copy]
  1649. s32evnt1.dll, s32evnt1.dll, TARGET3, SYSTEM
  1650.  
  1651. [ExecRescue]
  1652. dll = siwnav32.dll
  1653. function = ExecRescue
  1654.  
  1655. [ExecSetupTrial]
  1656. dll = siwnav32.dll
  1657. function = ExecSetupTrial
  1658.  
  1659. [RescueRun]
  1660. "%s\nresq32.exe /INSTALL", TARGET3
  1661.  
  1662. [RescueCopy]
  1663. s32stat.dll, s32stat.dll, TARGET5, TARGET
  1664.  
  1665. [RescueDelete]
  1666. s32stat.dll, TARGET
  1667.  
  1668. [WintdistRun]
  1669. "%s\wintdist.exe /Q", WINDOWS
  1670.  
  1671. [WintdistDelete]
  1672. wintdist.exe, WINDOWS
  1673.  
  1674.  
  1675. ;***************************************************************************
  1676. ;* Delete Files                                                            *
  1677. ;***************************************************************************
  1678.  
  1679. [CopyOfAutoexecDelLFN]
  1680. "c:\Copy of Autoexec (before NAV).bat"
  1681.  
  1682. [CopyOfAutoexecDelSFN]
  1683. c:\autoexec.nav
  1684.  
  1685. [SymevntTempDel]
  1686. symevnt.386,  TARGET5
  1687. symevnt1.dll, TARGET5
  1688. s32evnt1.dll, TARGET5
  1689.  
  1690. [InfodeskTempDel]
  1691. infodesk.dll, TARGET5
  1692. infodesk.hlp, TARGET5
  1693. infodesk.cnt, TARGET5
  1694. symgloss.hlp, TARGET5
  1695.  
  1696. [SymstatTempDel]
  1697. s32stat.dll, TARGET5
  1698.  
  1699. [OnrampTempDel]
  1700. s32live1.dll, TARGET5
  1701. liveupdt.exe, TARGET5
  1702. s32luhm1.dll, TARGET5
  1703. s32luhf1.dll, TARGET5
  1704. s32luis1.dll, TARGET5
  1705. s32luuz1.dll, TARGET5
  1706. hscript.scp,  TARGET5
  1707. liveupdt.hst, TARGET5
  1708.  
  1709. [CustDLLDel]
  1710. shell95w.exe, TEMPDIR
  1711. siwnav32.dll, TEMPDIR
  1712. s32scani.dll, TEMPDIR
  1713. navex32.dll,  TEMPDIR
  1714. s32nav8.dll,  TEMPDIR
  1715. pipeline.dll, TEMPDIR
  1716. navkrnl8.vxd, TEMPDIR
  1717. virscan2.dat, TEMPDIR
  1718. virscan.dat,  TEMPDIR
  1719. virscan.inf,  TEMPDIR
  1720. intsrb.dat,   TEMPDIR
  1721. intsrf.dat,   TEMPDIR
  1722.  
  1723. [Leftovers]
  1724. infodesk.gid,   TARGET5
  1725. infodesk.fts,   TARGET5
  1726. infodesk.ftg,   TARGET5
  1727. navw32.fts,     TARGET2
  1728. navw32.gid,     TARGET2
  1729. navw32.gid,     TARGET5
  1730. nsched32.fts,   TARGET2
  1731. nsched32.gid,   TARGET2
  1732. nsched32.gid,   TARGET5
  1733. pipedlg.dat,    TARGET5
  1734. win.siw,        WINDOWS
  1735. system.siw,     WINDOWS
  1736.  
  1737. ;***************************************************************************
  1738. ;* Config/Autoexec/Ini Mods                                                           *
  1739. ;***************************************************************************
  1740.  
  1741. [ConfigFind]
  1742. config.sys, TARGET4
  1743.  
  1744. [AutoexecFind]
  1745. autoexec.bat, TARGET4
  1746.  
  1747. [CheckAVConfig1]
  1748. file = c:\config.sys
  1749. finditems = FindNavStartup1
  1750. [CheckAVConfig2]
  1751. file = c:\config.sys
  1752. finditems = FindNavStartup2
  1753. [CheckAVConfig3]
  1754. file = c:\config.sys
  1755. finditems = FindNavStartup3
  1756. [CheckAVConfig4]
  1757. file = c:\config.sys
  1758. finditems = FindNavStartup4
  1759. [CheckAVConfig5]
  1760. file = c:\config.sys
  1761. finditems = FindNavStartup5
  1762. [CheckAVConfig6]
  1763. file = c:\config.sys
  1764. finditems = FindNavStartup6
  1765. [CheckAVConfig7]
  1766. file = c:\config.sys
  1767. finditems = FindNavStartup7
  1768. [CheckAVConfig8]
  1769. file = c:\config.sys
  1770. finditems = FindNavStartup8
  1771.  
  1772. [CheckAVAuto1]
  1773. file = c:\autoexec.bat
  1774. finditems = FindNavStartup1
  1775. [CheckAVAuto2]
  1776. file = c:\autoexec.bat
  1777. finditems = FindNavStartup2
  1778. [CheckAVAuto3]
  1779. file = c:\autoexec.bat
  1780. finditems = FindNavStartup3
  1781. [CheckAVAuto4]
  1782. file = c:\autoexec.bat
  1783. finditems = FindNavStartup4
  1784. [CheckAVAuto5]
  1785. file = c:\autoexec.bat
  1786. finditems = FindNavStartup5
  1787. [CheckAVAuto6]
  1788. file = c:\autoexec.bat
  1789. finditems = FindNavStartup6
  1790. [CheckAVAuto7]
  1791. file = c:\autoexec.bat
  1792. finditems = FindNavStartup7
  1793. [CheckAVAuto8]
  1794. file = c:\autoexec.bat
  1795. finditems = FindNavStartup8
  1796.  
  1797. [CheckAVSystemIni]
  1798. IniName = system.ini
  1799. SectionName = 386Enh
  1800. device=*vnavd.386*
  1801.  
  1802. [AutoexecCopy]
  1803. c:\autoexec.bat, c:\autoexec.nav
  1804.  
  1805. [FindNavStartup1]
  1806. *nav*
  1807. [FindNavStartup2]
  1808. *\vshield*
  1809. [FindNavStartup3]
  1810. *\guard*
  1811. [FindNavStartup4]
  1812. *\vsave*
  1813. [FindNavStartup5]
  1814. *\bootsafe*
  1815. [FindNavStartup6]
  1816. *\cpsched*
  1817. [FindNavStartup7]
  1818. *\vsafe*
  1819. [FindNavStartup8]
  1820. *\vwatch.sys*
  1821.  
  1822. [ModifyConfig]
  1823. caption    = "Norton AntiVirus - Modify Config.sys File"
  1824. text1      = "The following modifications need to be made to your config.sys file.  To edit the file, click the Edit button."
  1825. FileSpec   = c:\config.sys
  1826. filetype   = config
  1827. Create     = 0
  1828. CreateText =
  1829. rem1       = "rem"
  1830. FindRems   = 0
  1831. EditCaption= "Edit Config.sys"
  1832. EditText   = "Make the desired changes to the file and click Done when finished.  To cancel this and all previous edits, click Cancel Edit."
  1833. RemItems   = StartupRemItems
  1834.  
  1835. [ModifyAutoexec]
  1836. caption    = "Norton AntiVirus - Modify Autoexec.bat File"
  1837. text1      = "The following modifications need to be made to your autoexec.bat file.  To edit the file, click the Edit button."
  1838. FileSpec   = c:\autoexec.bat
  1839. filetype   = autoexec
  1840. Create     = 0
  1841. CreateText =
  1842. rem1       = "rem"
  1843. rem2       = "path"
  1844. rem3       = "set"
  1845. FindRems   = 0
  1846. EditCaption= "Edit Autoexec.bat"
  1847. EditText   = "Make the desired changes to the file and click Done when finished.  To cancel this and all previous edits, click Cancel Edit."
  1848. RemItems   = StartupRemItems
  1849. DelItems   = StartupDelItems
  1850.  
  1851. [ModifyAutoexecAddNAV]
  1852. caption    = "Norton AntiVirus - Modify Autoexec.bat File"
  1853. text1      = "The following modifications need to be made to your autoexec.bat file.  To edit the file, click the Edit button."
  1854. FileSpec   = c:\autoexec.nav
  1855. filetype   = autoexec
  1856. Create     = 1
  1857. CreateText =
  1858. rem1       = "rem"
  1859. rem2       = "path"
  1860. rem3       = "set"
  1861. FindRems   = 0
  1862. EditCaption= "Edit Autoexec.bat"
  1863. EditText   = "Make the desired changes to the file and click Done when finished.  To cancel this and all previous edits, click Cancel Edit."
  1864. RemItems   = StartupRemItems
  1865. DelItems   = StartupDelItems
  1866. AddItems   = StartupAddItems
  1867.  
  1868. [ModifySystemIni]
  1869. caption     = "Norton AntiVirus - Modify System.ini File"
  1870. text1       = "The following modification need to be made to your system.ini file.  To edit the file, click the Edit button."
  1871. FileSpec    = %s\system.ini, WINDOWS
  1872. filetype    = text
  1873. Create      = 0
  1874. CreateText  =
  1875. rem1        = ";"
  1876. FindRems    = 0
  1877. EditCaption = "Edit System.ini"
  1878. EditText    = "Make the desired changes to the file and click Done when finished.  To cancel this and all previous edits, click Cancel Edit."
  1879. RemItems    = SystemIniRemItems
  1880.  
  1881. [CreateSchedIni]
  1882. FileSpec    = %s\schedule.ini, WINDOWS
  1883. FileType    = ini
  1884. Create      = 1
  1885. CreateText  = "[Norton Program Scheduler]"
  1886.  
  1887. [AddNewSched]
  1888. IniName = schedule.ini
  1889. SectionName = NamedEvents
  1890. NamedEvent1 = 1
  1891.  
  1892. SectionName = NamedEvent1
  1893. Name="Scan for Viruses"
  1894. Prompt="&What to Scan:"
  1895. CommandLine=NAVW32.EXE
  1896. StartupDir=%s, TARGET
  1897. RunStyle=1
  1898.  
  1899. [StartupRemItems]
  1900. *navtsr*
  1901. *\navtsr*
  1902. *nav*
  1903. *\nav*
  1904. *nav_*
  1905. *\nav_*
  1906. *nav&*
  1907. *\nav&*
  1908. *\vshield*
  1909. *\guard*
  1910. *\vsave*
  1911. *\bootsafe*
  1912. *\cpsched*
  1913. *\vsafe*
  1914. *\vwatch.sys*
  1915.  
  1916. [StartupDelItems]
  1917. *navboot*
  1918. *\navboot*
  1919.  
  1920. [StartupAddItems]
  1921. "@%s\Navboot.exe /Startup", TARGET3, switch84
  1922.  
  1923. [SystemIniRemItems]
  1924. *vnavd.386*
  1925.  
  1926. [AddContents]
  1927. FileSpec   = %s\symantec.cnt, TARGET5
  1928. filetype   = text
  1929. Create     = 1
  1930. CreateText = " "
  1931. AddItems   = ContentsAddItems
  1932.  
  1933. [ContentsAddItems]
  1934. ":INCLUDE NAVW32.CNT", APPEND
  1935. ":INCLUDE NSCHED32.CNT", APPEND, switch86
  1936.  
  1937. [PrevAVLoad1]
  1938. navtsrw.exe
  1939.  
  1940. [PrevAVLoad2]
  1941. navpopup.exe
  1942.  
  1943. [PrevAVLoad3]
  1944. vshldwin.exe
  1945.  
  1946. [PrevAVLoad4]
  1947. wntsrman.exe
  1948.  
  1949. [PrevAVLoad5]
  1950. wnavws.exe
  1951.  
  1952. [DelVxds]
  1953. IniName = system.ini
  1954. SectionName = 386enh
  1955. device=*symevnt.386*
  1956. device=*awdos.386*
  1957. device=*vpcaw.386*
  1958. device=*vfintd.386*
  1959. device=*vfintd.386*
  1960. device=*vnss.386*
  1961.  
  1962.  
  1963. ;***************************************************************************
  1964. ;* Reg Database mods                                                       *
  1965. ;***************************************************************************
  1966.  
  1967. [NavReg]
  1968. file = %s\nav95.reg, TARGET2
  1969.  
  1970. [OnrampReg]
  1971. file = %s\liveupdt.reg, TARGET2
  1972.  
  1973. [SageReg]
  1974. file = %s\navsage.reg, TARGET2
  1975.  
  1976. [SetupReg]
  1977. file = %s\setup.reg, TARGET2
  1978.  
  1979. [NavwReg]
  1980. file = %s\navw32.reg, TARGET2
  1981.  
  1982. [NavapwReg]
  1983. file = %s\navapw32.reg, TARGET2
  1984.  
  1985. [SchedReg]
  1986. file = %s\NSched32.reg, TARGET2
  1987.  
  1988. [RescuewReg1]
  1989. file = %s\NResq32.reg, TARGET2
  1990.  
  1991. [RescuewReg2]
  1992. file = %s\RsqShare.reg, TARGET2
  1993.  
  1994. [RescuewReg3]
  1995. file = %s\Navrsq32.reg, TARGET2
  1996.  
  1997. [RegUpdate]
  1998. key = "HKEY_LOCAL_MACHINE"
  1999. subkey = "SOFTWARE\Symantec\Norton AntiVirus\Install\4.0\Components"
  2000.  
  2001. ;***************************************************************************
  2002. ;* Misc install functions                                                  *
  2003. ;***************************************************************************
  2004.  
  2005. [Pix]
  2006. color = %s\symlogo.rle, -1, 1
  2007.  
  2008. [VerDll]
  2009. ver.dll, SYSTEM
  2010.  
  2011. [SetNAVRegister]
  2012. s32nav8.dll, TARGET
  2013.  
  2014. [Registration]
  2015. dll = s32nav8.dll
  2016. string = "Symantec Setup for Windows"
  2017. active = no
  2018. serialize = 0
  2019.  
  2020. ;***************************************************************************
  2021. ;* Groups                                                                  *
  2022. ;***************************************************************************
  2023.  
  2024. [groups]
  2025. "Norton AntiVirus", nav.grp
  2026. "Startup",          startup.grp
  2027.  
  2028. [Norton AntiVirus]
  2029. "Norton AntiVirus",             navw32.exe,     navw32,    0, TARGET3, navw32.exe,   TARGET3, " "
  2030. "Norton Program Scheduler",     nsched32.exe,   scheduler, 0, TARGET3, nsched32.exe, TARGET3, " "
  2031. "Rescue Disk",                  nresq32.exe,    rescue,    0, TARGET3, nresq32.exe,  TARGET3, " "
  2032.  
  2033. [Startup]
  2034. "Norton Program Scheduler",     nsched32.exe,   schedstart, 0, TARGET3,  nsched32.exe, TARGET3, " /min", 1
  2035.  
  2036. ;***************************************************************************
  2037. ;* Copy                                                                    *
  2038. ;***************************************************************************
  2039.  
  2040. [NAVCopy]
  2041. ;seltype.component, description,                        size,req,files,show
  2042. CopyMain.BaseFiles, "Norton AntiVirus Base Files",         0,  Y, N, Y
  2043. CopySub.schedstart, " "
  2044. CopySub.scheddat,   " "
  2045. CopySub.symevnt,    " "
  2046. CopySub.shared,     " "
  2047. CopySub.infodesk,   " "
  2048. CopySub.symstat,    " "
  2049. CopySub.options,    " "
  2050. CopySub.newoptions, " "
  2051. CopySub.virdefs,    " "
  2052. CopySub.install,    "Install/uninstall NAV"
  2053. CopySub.navw32,     "Windows scanner application"
  2054.  
  2055. CopyMain.NAVVXD,    "Automatic protection",                0,  N, Y, Y
  2056. CopySub.navapw,     "Automatic Protection VxD"
  2057.  
  2058. CopyMain.NAVDOS,    "Startup protection",                  0,  N, Y, Y
  2059. CopySub.navboot,    "NAVBOOT"
  2060. CopySub.navtsr,     "NAVTSR"
  2061.  
  2062. CopyMain.Tools,     "Tools",                               0,  N, Y, Y
  2063. CopySub.rescue,     "Create a rescue disk"
  2064. CopySub.scheduler,  "Schedule scans"
  2065.  
  2066.  
  2067. [NAVCopyWinNT]
  2068. ;seltype.component, description,                        size,req,files,show
  2069. CopyMain.BaseFiles, "Norton AntiVirus Base Files",         0,  Y, N, Y
  2070. CopySub.schedstart, " "
  2071. CopySub.scheddat,   " "
  2072. CopySub.shared,     " "
  2073. CopySub.options,    " "
  2074. CopySub.newoptions, " "
  2075. CopySub.virdefs,    " "
  2076. CopySub.navw32,     "Windows Scanner Application"
  2077. CopySub.install,    "Install/Uninstall NAV"
  2078.  
  2079. CopyMain.TOOLS,     "Tools",                               0,  N, Y, Y
  2080. CopySub.scheduler,  "Schedule scans"
  2081.  
  2082. ;***************************************************************************
  2083. ; Component descriptions
  2084. ;***************************************************************************
  2085.  
  2086. [CopyTextBaseFiles]
  2087. icon = IDI_NAVW
  2088. text = "Scans your drives for viruses and configures Norton AntiVirus."
  2089.  
  2090. [CopyTextNAVVXD]
  2091. icon = IDI_NAVAP
  2092. text = "Provides continuous protection against viruses while you work."
  2093.  
  2094. [CopyTextNAVDOS]
  2095. icon = IDI_NAVD
  2096. text = "Detect and eliminate viruses before they can spread."
  2097.  
  2098. [CopyTextTools]
  2099. icon = IDI_SCHEDULER
  2100. text = "Create a rescue disk set and schedule weekly scans."
  2101.  
  2102. ;***************************************************************************
  2103. ; Wizard Panels
  2104. ;***************************************************************************
  2105.  
  2106. [WrongVersion]
  2107. Caption="Norton AntiVirus for Windows 95 Setup"
  2108. Title="Incorrect Version"
  2109. DlgProc=WizardPanelProc
  2110. ResourceId=102
  2111. Bitmap16=202
  2112. PanelDataProc=_DefaultDataProc@0
  2113. PanelFlags=First+Last+Finish
  2114.  
  2115. [NoWinSpace]
  2116. Caption="Norton AntiVirus for Windows 95 Setup"
  2117. Title="Low Disk Space"
  2118. DlgProc=WizardPanelProc
  2119. ResourceId=108
  2120. Bitmap16=202
  2121. PanelDataProc=_DefaultDataProc@0
  2122. PanelFlags=First+Last+Finish
  2123.  
  2124. [Welcome]
  2125. Caption="Norton AntiVirus for Windows 95 Setup"
  2126. Title="Welcome to Norton AntiVirus"
  2127. DlgProc=_WelcomeDlgProc@16
  2128. ResourceId=501
  2129. Bitmap16=202
  2130. PanelDataProc=_WelcomeDataProc@0
  2131. PanelFlags=First
  2132.  
  2133. [BeforeScan]
  2134. Caption="Norton AntiVirus for Windows 95 Setup"
  2135. Title="Preparing for Virus Scan"
  2136. DlgProc=WizardPanelProc
  2137. ResourceId=110
  2138. Bitmap16=202
  2139. PanelDataProc=_DefaultDataProc@0
  2140.  
  2141. [DuringScan]
  2142. Caption="Norton AntiVirus for Windows 95 Setup"
  2143. Title="Scanning System for Viruses"
  2144. DlgProc=WizardPanelProc
  2145. ResourceId=111
  2146. Bitmap16=202
  2147. PanelDataProc=_DefaultDataProc@0
  2148. PanelFlags=First+Last
  2149.  
  2150. [DuringScan2]
  2151. Caption="Norton AntiVirus for Windows 95 Setup"
  2152. Title="Scanning System for Viruses"
  2153. DlgProc=WizardPanelProc
  2154. ResourceId=141
  2155. Bitmap16=202
  2156. PanelDataProc=_DefaultDataProc@0
  2157. PanelFlags=First+Last
  2158.  
  2159. [AfterScan]
  2160. Caption="Norton AntiVirus for Windows 95 Setup"
  2161. Title="Your System is Virus Free"
  2162. DlgProc=WizardPanelProc
  2163. ResourceId=112
  2164. Bitmap16=202
  2165. PanelDataProc=_DefaultDataProc@0
  2166. PanelFlags=First
  2167.  
  2168. [Register]
  2169. Caption="Norton AntiVirus for Windows 95 Setup"
  2170. Title="User Information"
  2171. DlgProc=WizardPanelProc
  2172. ResourceId=113
  2173. Bitmap16=202
  2174. PanelDataProc=_DefaultDataProc@0
  2175. PanelFlags=First
  2176.  
  2177. [InstallType]
  2178. Caption="Norton AntiVirus for Windows 95 Setup"
  2179. Title="Setup Type"
  2180. DlgProc=WizardPanelProc
  2181. ResourceId=114
  2182. Bitmap16=203
  2183. PanelDataProc=_DefaultDataProc@0
  2184.  
  2185. [SelectComponents]
  2186. Caption="Norton AntiVirus for Windows 95 Setup"
  2187. Title="Select Components"
  2188. DlgProc=WizardPanelProc
  2189. ResourceId=137
  2190. PanelDataProc=_DefaultDataProc@0
  2191.  
  2192. [SearchInfo]
  2193. Caption="Norton AntiVirus for Windows 95 Setup"
  2194. Title="Exploring Drives"
  2195. DlgProc=WizardPanelProc
  2196. ResourceId=116
  2197. Bitmap16=202
  2198. PanelDataProc=_DefaultDataProc@0
  2199. PanelFlags=First+Last
  2200.  
  2201. [RequiredIntro]
  2202. Caption="Norton AntiVirus for Windows 95 Setup"
  2203. Title="Products Required for Upgrade"
  2204. DlgProc=_RequiredDlgProc@16
  2205. ResourceId=509
  2206. Bitmap16=202
  2207. PanelDataProc=_RequiredDataProc@0
  2208.  
  2209. [Required]
  2210. Caption="Norton AntiVirus for Windows 95 Setup"
  2211. Title="Searching for Qualifying Products"
  2212. DlgProc=_RequiredDlgProc@16
  2213. ResourceId=508
  2214. Bitmap16=202
  2215. PanelDataProc=_RequiredDataProc@0
  2216.  
  2217. [RequiredSuccess]
  2218. Caption="Norton AntiVirus for Windows 95 Setup"
  2219. Title="Required Product Found"
  2220. DlgProc=_RequiredDlgProc@16
  2221. ResourceId=552
  2222. Bitmap16=202
  2223. PanelDataProc=_RequiredDataProc@0
  2224. PanelFlags=First
  2225.  
  2226. [UseLiveUpdate]
  2227. Caption="Norton AntiVirus for Windows 95 Setup"
  2228. Title="Use LiveUpdate Once A Month"
  2229. DlgProc=WizardPanelProc
  2230. ResourceId=143
  2231. Bitmap16=301
  2232. PanelDataProc=_DefaultDataProc@0
  2233. PanelFlags=First
  2234.  
  2235. [License]
  2236. ;Caption="Norton AntiVirus for Windows 95 Setup"
  2237. Caption="Online License Agreement"
  2238. DlgProc=WizardPanelProc
  2239. ResourceId=502
  2240. ;Bitmap16=202
  2241. PanelDataProc=_LicenseDataProc@0
  2242.  
  2243. [NetscapeDetected]
  2244. Caption="Norton AntiVirus for Windows 95 Setup"
  2245. Title="Netscape Detected"
  2246. DlgProc=WizardPanelProc
  2247. ResourceId=119
  2248. Bitmap16=202
  2249. PanelDataProc=_DefaultDataProc@0
  2250.  
  2251. [TechSupport]
  2252. Caption="Norton AntiVirus for Windows 95 Setup"
  2253. Title="Symantec Support Solutions"
  2254. DlgProc=WizardPanelProc
  2255. ResourceId=507
  2256. Bitmap16=207
  2257. PanelDataProc=_DefaultDataProc@0
  2258. ;PanelFlags=First
  2259.  
  2260. [Reach]
  2261. Caption="Norton AntiVirus for Windows 95 Setup"
  2262. Title="How to Reach Us"
  2263. DlgProc=WizardPanelProc
  2264. ResourceId=513
  2265. Bitmap16=213
  2266. PanelDataProc=_DefaultDataProc@0
  2267.  
  2268. [CrossSell]
  2269. Caption="Norton AntiVirus for Windows 95 Setup"
  2270. Title="Windows 95 Solutions"
  2271. DlgProc=_CrossSellDlgProc@16
  2272. ResourceId=512
  2273. Bitmap16=300
  2274. PanelDataProc=_CrossSellDataProc@0
  2275.  
  2276. [SpecifyLocation]
  2277. Caption="Norton AntiVirus for Windows 95 Setup"
  2278. Title="Program Location"
  2279. DlgProc=WizardPanelProc
  2280. ResourceId=118
  2281. Bitmap16=202
  2282. PanelDataProc=_DefaultDataProc@0
  2283.  
  2284. [CompressedDrive]
  2285. Caption="Norton AntiVirus for Windows 95 Setup"
  2286. Title="Compressed Drive Information"
  2287. DlgProc=WizardPanelProc
  2288. ResourceId=104
  2289. Bitmap16=202
  2290. PanelDataProc=_DefaultDataProc@0
  2291.  
  2292. [NoDiskSpace]
  2293. Caption="Norton AntiVirus for Windows 95 Setup"
  2294. Title="Not Enough Disk Space"
  2295. DlgProc=WizardPanelProc
  2296. ResourceId=106
  2297. Bitmap16=202
  2298. PanelDataProc=_DefaultDataProc@0
  2299.  
  2300. [KeepSettingsDlg]
  2301. Caption="Norton AntiVirus for Windows 95 Setup"
  2302. Title="Keep Current Settings"
  2303. DlgProc=WizardPanelProc
  2304. ResourceId=121
  2305. Bitmap16=202
  2306. PanelDataProc=_DefaultDataProc@0
  2307.  
  2308. [StartupDlg]
  2309. Caption="Norton AntiVirus for Windows 95 Setup"
  2310. Title="Initial Settings"
  2311. DlgProc=WizardPanelProc
  2312. ResourceId=122
  2313. Bitmap16=202
  2314. PanelDataProc=_DefaultDataProc@0
  2315.  
  2316. [RescueDlg]
  2317. Caption="Norton AntiVirus for Windows 95 Setup"
  2318. Title="Create Rescue Disk Set"
  2319. DlgProc=WizardPanelProc
  2320. ResourceId=124
  2321. Bitmap16=202
  2322. PanelDataProc=_DefaultDataProc@0
  2323.  
  2324. [CopyFiles]
  2325. Caption="Norton AntiVirus for Windows 95 Setup"
  2326. Title="Setup Review"
  2327. DlgProc=WizardPanelProc
  2328. ResourceId=128
  2329. Bitmap16=202
  2330. PanelDataProc=_DefaultDataProc@0
  2331.  
  2332. [ModifyFile]
  2333. Caption="Norton AntiVirus for Windows 95 Setup"
  2334. Title="Modify Autoexec.bat"
  2335. DlgProc=WizardPanelProc
  2336. ResourceId=139
  2337. Bitmap16=202
  2338. PanelDataProc=_DefaultDataProc@0
  2339. PanelFlags=First
  2340.  
  2341. [Finished]
  2342. Caption="Norton AntiVirus for Windows 95 Setup"
  2343. Title="Setup Complete"
  2344. DlgProc=WizardPanelProc
  2345. ResourceId=130
  2346. Bitmap16=202
  2347. PanelDataProc=_DefaultDataProc@0
  2348. PanelFlags=First+Last+Finish
  2349.  
  2350. [RescueFloppyDialog]
  2351. Caption="Norton AntiVirus for Windows 95 Setup"
  2352. Title="Remove Floppy Diskette"
  2353. DlgProc=WizardPanelProc
  2354. ResourceId=129
  2355. Bitmap16=202
  2356. PanelDataProc=_DefaultDataProc@0
  2357. PanelFlags=First
  2358.  
  2359. [RebootFloppyDialog]
  2360. Caption="Norton AntiVirus for Windows 95 Setup"
  2361. Title="Remove Floppy Diskette"
  2362. DlgProc=WizardPanelProc
  2363. ResourceId=129
  2364. Bitmap16=202
  2365. PanelDataProc=_DefaultDataProc@0
  2366. PanelFlags=First+Last+Finish
  2367.  
  2368. ;////////////////////////////////
  2369. ; BEGIN PIPELINE STUFF
  2370. ;////////////////////////////////
  2371.  
  2372. [RegisterNow]
  2373. caption = "Norton AntiVirus for Windows 95 Setup"
  2374. Title="Register Now"
  2375. DlgProc=_RegNowDlgProc@16
  2376. PanelDataProc=_RegNowDataProc@0
  2377. ResourceId=504
  2378. Bitmap16=204
  2379. ;Bitmap16=120
  2380. PanelFlags=Skip
  2381.  
  2382. [OnlineRegistration]
  2383. caption = "Norton AntiVirus for Windows 95 Setup"
  2384. DlgProc=_UsaRegDlgProc@16
  2385. PanelDataProc=_UsaRegDataProc@0
  2386. ResourceId=505
  2387. PanelFlags=Skip
  2388.  
  2389. [OnlineMarketing]
  2390. caption = "Norton AntiVirus for Windows 95 Setup"
  2391. DlgProc=_MarketingDlgProc@16
  2392. PanelDataProc=_MarketingDataProc@0
  2393. ResourceId=506
  2394. PanelFlags=Skip
  2395.  
  2396. [SendRegistration]
  2397. caption = "Norton AntiVirus for Windows 95 Setup"
  2398. DlgProc=_SendRegDlgProc@16
  2399. PanelDataProc=_SendRegDataProc@0
  2400. ResourceId=514
  2401. Bitmap16=214
  2402. ;Bitmap16=120
  2403. Flags=Skip
  2404.